wayland: Don't round trip recursively during initialization
authorJonas Ådahl <jadahl@gmail.com>
Mon, 18 May 2015 08:02:45 +0000 (16:02 +0800)
committerJonas Ådahl <jadahl@gmail.com>
Wed, 20 May 2015 02:59:47 +0000 (10:59 +0800)
commit181e4399f6e2588b462eaa5689bdebd4063d8a6f
tree2eeb677619b201b2e982e6321b31cb99316754a9
parent688dcadafa6bea6f2f4d685091b3c401cd84acf9
wayland: Don't round trip recursively during initialization

Instead use asynchronous round trips that is synchronized in the end of
the initialization. This makes it easier to track state, as we won't
dispatch arbitrary Wayland messages while processing globals.

https://bugzilla.gnome.org/show_bug.cgi?id=719819
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkdisplay-wayland.h